<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script language="javascript">


        function showAndroid(str) {
            alert(str);

            var data = JSON.parse(str);
            var head = data.headDetail.FDate;
            alert(head)

            for(var i=0;i<data.bodyList.length;i++){
            alert(data.bodyList[i].FQty)
            }
            var el = document.getElementById("fas");
			el.innerText = str;
        }


    </script>
</head>
<body>
<table border="2px" style="border: 2px solid red" width="600px">
    <tr>
        <td>登录名：</td>
        <td><input id="name" type="text" style="width: 96%"></td>
    </tr>
    <tr>
        <th id="th1" class="tg-nrw1">产品代码</th>
        <th id="fas" class="tg-baqh"></th>
    </tr>
    <tr>
        <td>登录密码：</td>
        <td><input id="pwd" type="password" style="width: 96%"></td>
    </tr>
</table>
<input type="button" value="登录" onclick="denglu()">

</body>
</html>  